package gtc.edu.ybt.demo.entity;

import javax.persistence.Entity;
import javax.persistence.Table;

import gtc.edu.ybt.demo.custom.BaseEntity;
@Entity
@Table(name = "tbclass")
public class TbClass extends BaseEntity<Integer>{
	
	private String name;
	private String manager;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getManager() {
		return manager;
	}
	public void setManager(String manager) {
		this.manager = manager;
	}
	@Override
	public String toString() {
		return "TbClass [name=" + name + ", manager=" + manager + ", id=" + getId() + "]";
	}
	public TbClass() {
		super();
	}
	public TbClass(Integer id) {
		super(id);
	}
	
	
}
